-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reuse terminals when applicable #1888
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
const terminal = ext.terminalProvider.createTerminal(`Shell: ${node.containerName}`); | ||
terminal.sendText(terminalCommand); | ||
terminal.show(); | ||
await executeAsTask(context, terminalCommand, `Shell: ${node.containerName}`, /* addDockerEnv: */ true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shell quoting is causing problems here...e.g. attach shell fails on Windows w/ PowerShell.
Closing this. There are serious problems with shell quoting that make this extremely difficult. |
Fixes #251
Unblocks #1840